package org.xin.security.service;

import org.xin.framework.base.service.IBaseService;
import org.xin.security.pojo.entity.SysUserSecurity;

/**
* <p>
    * 系统模块-用户安全表 服务接口
    * </p>
*
* @author: xin
* @date: Create in 2021-09-29
*/

public interface ISysUserSecurityService extends IBaseService<SysUserSecurity> {
    /**
     * @desc <p> 根据用户名获取用户 </p>
     * @author xin
     * @date 2021/10/2
     */
    SysUserSecurity selectByUsername(String username);

    /**
     * @desc <p> 校验用户名称是否存在 </p>
     * @author xin
     * @date 2021/10/2
     */
    Boolean checkUserNameUnique(String username);
}

